package command.example.cmd;

import command.example.receiver.TV;

public class SetVolume extends TVCommand {

	private int volume;

	public SetVolume(TV tv, int volume) {
		super(tv);
		this.volume = volume;
	}

	@Override
	public void execute() {
		tv.setVolume(volume);
	}

}
